import Vue from 'vue'
import Router from 'vue-router'
import Homepage from '@/components/Homepage'
import NotFound from '@/components/NotFound'
import Homework from '@/components/Homework'
import About from '@/components/About'
import ColorfulEgg from '@/components/ColorfulEgg'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Homepage',
      component: Homepage
    },
    {
      path: '/homework',
      name: 'Homework',
      component: Homework
    },
    {
      path: '/about',
      name: 'About',
      component: About
    },
    {
      path: '*',
      name: 'NotFound',
      component: NotFound
    }
  ]
})
